package com.heraleign.ws;

import javax.xml.ws.Endpoint;

public class WSPublishJDK {
    public static void main(String[] args) {
        String address ="http://localhost:8888/ws";
        Endpoint.publish(address,new HelloServiceImpl());
        System.out.println("服务已经发布");
    }
}
